package com.example.bittraffic;

import android.os.Bundle;
import android.app.Activity;
import android.app.Dialog;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.widget.Button;

public class Activity_Manual extends Dialog implements
		android.view.View.OnClickListener {

	public Activity c;
	public Dialog d;
	public Button yes, no;

	public Activity_Manual(Activity a) {
		super(a);
		this.c = a;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_manual);
		//yes = (Button) findViewById(R.id.btn_yes2);
		no = (Button) findViewById(R.id.btn_no2);
		//yes.setOnClickListener(this);
		no.setOnClickListener(this);

	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
//		case R.id.btn_yes2:
//			c.finish();
//			break;
		case R.id.btn_no2:
			dismiss();
			break;
		default:
			break;
		}
		dismiss();
	}
}
